PARAMETER 2 should be the literal string "Files", "Folders" or "Both".
This XFCN will return a carraige return delimited list (one file/folder per line) of all files, folders, or both files and folders (as per parameter 2) within the specified directory. The names of all folders will end in a ":". The default is to list "both" files and folders. The next version will be A/UX compatible.